﻿@model CompetitionDataModel

<div>
    <br />
    @Html.DisplayFor(m => m.EditorDbType)
    <br />

    @using (Html.BeginForm(FormMethod.Post)) 
    {
        @Html.AntiForgeryToken()
        @Html.HiddenFor(m => m.CompetitionGuid)
        @Html.HiddenFor(m => m.ApprovalGuid)
            
        <section>
            <fieldset>
                <legend>@ViewBag.Title</legend>

                @Html.EditorFor(m => m.CompetitionName)
                @Html.EditorFor(m => m.CompetitionType)
                @Html.EditorFor(m => m.LocationType)
                @Html.EditorFor(m => m.CountryGuid)
                @Html.EditorFor(m => m.ActiveFrom)
                @Html.EditorFor(m => m.ActiveTo)

                @Html.Partial("_SubmitButton")
            </fieldset>
        </section>
    }
</div>

